import { pageTo } from 'nc-lightapp-front';

const config = {
    appcode: pageTo.getSearchParam('c'),
    pagecode: pageTo.getSearchParam('p'),
    searchArea: 'search',
    walletListArea: 'head',
    bodysArea: 'body',
    multiLang: {
        moduleId: '201101-GRFP',
        domainName: 'erm'
    },
    pageButtonArea: 'page',
    innerButtonArea: 'table_inner',
    pageSize: 10,
    tabData: [
        { title: '待报销', key: '33' },
        { title: '报销中', key: '36' },
        { title: '已报销', key: '39' }
    ],
    bxApply: {
        url: '/nccloud/resources/erm/expenseaccount/expenseaccount4Pull/card/index.html#/pull?status=add&',
        info: {
            appcode: '201102CZBX',
            pagecode: '201102CZBX_card',
            status: 'add'
        }
    },
    orderConfig: {
        pagecode: '201101GRDD_LIST',
        searchArea: 'search',
        orderListArea: 'head',
        bodysArea: 'body',
        pageSize: 10
    }
};

export default config;
